/**
 * Copyright &copy; 2015-2020 <a href="http://后台管理系统/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.web.entity.YjCommand;
import com.jeeplus.modules.web.mapper.YjCommandMapper;

/**
 * 命令Service
 * @author rongjie
 * @version 2017-07-31
 */
@Service
@Transactional(readOnly = true)
public class YjCommandService extends CrudService<YjCommandMapper, YjCommand> {

	public YjCommand get(String id) {
		return super.get(id);
	}
	
	public List<YjCommand> findList(YjCommand yjCommand) {
		return super.findList(yjCommand);
	}
	
	public Page<YjCommand> findPage(Page<YjCommand> page, YjCommand yjCommand) {
		return super.findPage(page, yjCommand);
	}
	
	@Transactional(readOnly = false)
	public void save(YjCommand yjCommand) {
		super.save(yjCommand);
	}
	
	@Transactional(readOnly = false)
	public void delete(YjCommand yjCommand) {
		super.delete(yjCommand);
	}
	
}